<div class="leftpanel">
    	
        <div class="logopanel">
        	<h1><a href="<?php echo $baseurl;?>">Wicard <span>v1.0</span></a></h1>
        </div><!--logopanel-->
    	<div class="searchwidget">
            <?php echo form_open('')?>
            	<div class="input-append">
                    <input type="text" class="span2 search-query" placeholder="Nhập từ khóa..." name="keyword" />
                    <input type="hidden" name="type_submit" value="1" />
                    <button type="submit" class="btn"><span class="icon-search"></span></button>
                </div>
            </form>
        </div><!--searchwidget-->
        <div class="leftmenu">        
            <ul class="nav nav-tabs nav-stacked">
                <li class="<?php if($controller === 'userecoupon' && in_array($action, array('adduserecoupon'))) echo 'active'?>"><a href="<?php echo $baseurl.'manage/userecoupon/add-user-ecoupon';?>"><span class="icon-align-justify"></span> Trang chủ</a></li>
				<li class="<?php if($controller === 'userecoupon' && in_array($action, array('index'))) echo 'active'?> dropdown"><a href=""><span class="icon-gift"></span> E-Coupon</a>
                	<ul <?php if($controller === 'userecoupon' && in_array($action, array('index'))) echo 'style="display: block"'?>>
                        <li><a href="<?php echo $baseurl.'manage/userecoupon/index'?>">Sử dụng E-Coupon</a></li>
                    </ul>
                </li>
            </ul>
        </div><!--leftmenu-->
        
    </div>